home *** CD-ROM | disk | FTP | other *** search
- light("spot_shadowmap")
- {
- pass()
- {
- VertexShader("SpotShadowMapVS.vsh")
- tmu()
- {
- texgen("spotlight")
-
- texture()
- {
- shadowmap()
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("arg1", "texture", "current", "current")
- }
-
- tmu()
- {
- texgen("shadowmap_z")
-
- texture()
- {
- image("spot_z_inv.png")
- addressfunc("clamp", "clamp", "clamp")
- filtering("no_filtering")
- }
- ColorOp("mul", "texture", "current", "current")
-
- }
-
- tmu()
- {
- texture()
- {
- Image(%colortexture)
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("mul", "texture_a", "current", "current")
- }
-
- tmu()
- {
- TexGen("world_from_model")
- TexMtxDirPosScale(0.866025, 0.5, 0.0, 0, 0, 0, 0.000015, 0.00002, 0.000015)
- TexMod("translate", "lin", 0, 0.02, 0, "lin", 0, 0.001, 0)
- texture()
- {
- Image(%cloudstexture)
- }
- ColorOp("mul", "inv_texture_a", "current", "current")
- AlphaOp("arg2", "texture", "tfactor", "current")
- }
-
- blendfunc("zero", "inv_src_color")
-
- depthfunc("lequal", 0)
- tfactor(0,0,0,0)
- blackfog()
- }
-
- }
-
-